package com.njitzx.mapper;

import com.njitzx.entity.po.Permission;
import java.io.Serializable;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author 周鑫
 * @since 2024-08-20
 */
@Mapper
public interface PermissionMapper  {

    List<Permission> select(Permission permission);

    Permission selectById(Serializable psId);

    void insert(Permission permission);

    void update(Permission permission);

    void deleteById(Serializable psId);

    void deleteByIds(String[] split);

    List<Permission> getPermisson(String[] split);

    List<Integer> selectByIdPSId(Integer parentId);
}
